package org.cl.user.service;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.stereotype.Component;

public class Test {
	public void test1(){
		System.out.println("ooo");
	}
	
	public static void main(String[] args) {
		
		ApplicationContext ctx = new ClassPathXmlApplicationContext("app*.xml");
		Test t = (Test)ctx.getBean("test");
		t.test1(); 
	}
}
